<?php
	class Faq extends CI_Controller
    {
        public function __construct() {
            parent::__construct();
            $this->load->helper('url');
        }
        public function index()
        {
            $this->load->model('Nkdefault', 'default');
             $this->load->model('admin/managethongbao', 'thongbao');        
            $temp['title']="Câu hỏi thường gặp";
            $temp['template']='faq';
            $temp['data']['info']="Câu hỏi thường gặp";
             $temp['danhmuc']['menu'] = $this->default->loadDanhMuc();
            $temp['danhmuc']['currentItem'] = 'faq';   
            $temp['online'] = $this->useronline->countOnline();
            //load thong bao
        $thongbao = $this->thongbao->LoadThongBao(null, null, 1, 0);
        if(!empty($thongbao)) $temp['thongbao'] = $thongbao->result_array();          
            $this->load->view("template/layout",$temp);	     
        }
    }
?>